package entity;/*
 *徐韬
 *2021/10/9
 *10:21
 */

import org.omg.CORBA.PRIVATE_MEMBER;

import java.util.Date;

public class Product {
    private Integer pId;
    private String pName;
    private Date pDate;
    private String pVender;
    private Double pPrice;
    private Integer pType;
    private Category category;

    public Product() {
    }

    public Product(Integer pId, String pName, Date pDate, String pVender, Double pPrice, Integer pType, Category category) {
        this.pId = pId;
        this.pName = pName;
        this.pDate = pDate;
        this.pVender = pVender;
        this.pPrice = pPrice;
        this.pType = pType;
        this.category = category;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public Date getpDate() {
        return pDate;
    }

    public void setpDate(Date pDate) {
        this.pDate = pDate;
    }

    public String getpVender() {
        return pVender;
    }

    public void setpVender(String pVender) {
        this.pVender = pVender;
    }

    public Double getpPrice() {
        return pPrice;
    }

    public void setpPrice(Double pPrice) {
        this.pPrice = pPrice;
    }

    public Integer getpType() {
        return pType;
    }

    public void setpType(Integer pType) {
        this.pType = pType;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }
}
